package cn.xiongxf.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 存入Redis的预创订单数据：
 * 金额，数量，课程ID，秒杀ID，课程名，封面，订单号，用户ID
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PreCourseOrder2RedisDTO {
    private BigDecimal amount;
    private Integer count;
    private Long courseId;
    private String courseName;
    private String coursePic;
    private String orderNo;
    private Long killCourseId;
    private Long userId;
}
